package day04;

public class SwitchDemo {
    public static void main(String[] args) {
        int num=2;
        switch (num) {
            case 2:
                num++;
                System.out.println("2");
                // break;
            default:
                num+=4;
                System.out.println("default");
                break;
            case 3:
                System.out.println("3");
                break;
            case 1:
                System.out.println("1");
                //break;
        }
        System.out.println(num);
    }
}
